<template>
  <van-nav-bar title="系统设置" left-arrow @click-left="goBack" />
  <van-cell-group title="绑定参数">
    <van-cell title="影响类型" :value="getImpactType()">
      <template #value>
        <van-tag :type="getImpactType() === '0'? 'primary' :'success'">{{ getImpactType() === '0'? '区域码' : '序列号' }}</van-tag>
      </template>
    </van-cell>
    <van-cell title="影响编码" :value="getImpactCode()" />
  </van-cell-group>
</template>

<script setup>
import { getImpactType, getImpactCode } from '@/utils/auth'
import { useRouter } from 'vue-router';
const router = useRouter();

const goBack = () => {
  router.back(-1);
};

</script>

<style scoped>
</style>
